package com.example.vehiclemanagesystem.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.time.LocalTime;

@Entity
public class Vehicle {
    @Id
    private Integer   v_id	;
    private String    license	;
    private Integer   capacity    ;
    private Double     meters	    ;
    private String maintenance	;

    public Vehicle(Integer v_id, String license, Integer capacity, Double meters, String maintenance) {
        this.v_id = v_id;
        this.license = license;
        this.capacity = capacity;
        this.meters = meters;
        this.maintenance = maintenance;
    }

    public Vehicle() {

    }

    public Integer getV_id() {
        return v_id;
    }

    public String getLicense() {
        return license;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public Double getMeters() {
        return meters;
    }

    public String getMaintenance() {
        return maintenance;
    }

    public void setV_id(Integer v_id) {
        this.v_id = v_id;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }

    public void setMeters(Double meters) {
        this.meters = meters;
    }

    public void setMaintenance(String maintenance) {
        this.maintenance = maintenance;
    }
}
